import request from '@/utils/request'

/**
 * 订单 列表
 * @param prams
 */
export function orderListApi(params) {
    return request({
      url: '/admin/store/integral/order/list',
      method: 'get',
      params
    })
  }

  /**
 * 订单 列表 获取各状态数量
 * @param params
 */
export function orderStatusNumApi(params) {
    return request({
      url: '/admin/store/integral/order/status/num',
      method: 'get',
      params
    })
  }

/**
 * 订单 发货
 * @param prams
 */
export function orderSendApi(data) {
    return request({
      url: '/admin/store/integral/order/send',
      method: 'post',
      data
    })
  }

  /**
 * 订单 详情
 * @param prams
 */
export function orderDetailApi(params) {
    return request({
      url: '/admin/store/integral/order/info',
      method: 'get',
      params
    })
  }